package com.swpu.service_archive.service;

import com.swpu.service_archive.entity.VaccineRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-03-17
 */
public interface VaccineRecordService extends IService<VaccineRecord> {

    void saveUserVaccineData(String openid, VaccineRecord vaccineRecord);

    List<VaccineRecord> getUserVaccineList(String openid);

    VaccineRecord getVaccineDataById(String id);

    void updateUserVaccineData(VaccineRecord vaccineRecord);

    int getVaccineRecordCount(String openid);

    void deleteVaccineById(String id);
}
